package com.chenwang.measure.ui.dialog;

import android.view.View;
import android.view.Window;
import android.widget.TextView;

import com.chenwang.measure.R;
import com.chenwang.measure.base.BaseDialogFragment;

/**
 * @松 on 2019/8/25 09:02
 * 首页连接设备对话框
 */
public class ConnectDeviceDialog extends BaseDialogFragment {
    private TextView mTv;
    @Override
    public int setLayoutId() {
        return R.layout.dialog_connect_device;
    }

    @Override
    protected void initWindow(Window window) {

    }

    @Override
    protected void initData(View view) {
        super.initData(view);
        mTv = view.findViewById(R.id.tv);
        mTv.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                dismiss();
            }
        });
    }
}
